package cn.wenlihelp.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

import lombok.Data;

/**
 * 
 * @TableName account
 */
@Data
public class Account implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 
     */
    private Integer id;

    /**
     * 账户名
     */
    private String userName;

    /**
     * 账户密码
     */
    private String userPassword;

    /**
     * 邮箱，用于找回密码
     */
    private String email;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除(1:已删除，0:未删除)
     */
    private Boolean isDelete;

    private Set<Role> roles;


}